fixed issues with update_user command