add function update user

add function update user