update user of database