reupdate sql strings