add entity
update leave controller