add departments into api