fixed update_user method

In progress