update user state service