You don't. They're stored on the disk and cannot be updated. You have to get a newer version for new codes and the ability to update.
Edit: You can only input AR codes on an earlier version of the game. It must be before v1.2 for you to be able to input codes.