update with user leave and joining