fixed update_user method

Done