updated Leavetype and Appltype controllers