Updating character saving SQL code