Added departments to database