update sql for user table