Update CommandLeave