complete:update user function