fix update user api