add department endpoint, update dropdowns