update sql of user table