added departments to the database