update user settings api