update user setting api