Prepares person code for update