update user leave bug