Arduino Uno R3 board with Atmega328p-pu

Thanks all for reply.

I noticed there is Arduino UNO SMD board which use 32-TQFP chip, Since Atmega328p-15AZ is of 32-TQFP package, It should be able to replace the chip on the board.

What I want know is that all open source programs from running Arduino Uno R3 board with Atmega328p-pu still work for Arduino UNO SMD with Atmega328p-15AZ is of 32-TQFP package? Because Atmega328p-pu has 28 pins and Atmega328p-15AZ has 32 pins and I am wondering pins configuration is the same or not for using the open source programs for running Arduino Uno R3 board with Atmega328p-pu?
If It works, I will buy a Arduino UNO SMD in order for using Atmega328p-15AZ with 32-TQFP package.

Thanks again,

JZ