fix UPDATE_SQL sentences