Added write_or_update_person meothd
Fixed bug in updatE_person