Arduino Uno and a difrent controller

hey guys im interested if its possible to change the stock controller in Uno to a different Atmega328P-PU chip?
i notice that the orginal have ATMEGA328P-PU 1305 chip but i cant find any info regarding this specifying chip
i try to replace it with a different Atmega chip but nothing happen (i get message that the controller was not in sync) its that even possible or i need the exact same chip

Best regards Mike

Certainly Google for Burn Bootloader There's tons of material, Here's one: Gammon Forum : Electronics : Microprocessors : Atmega bootloader programmer