What hook is triggered when adding / updating and deleting taxonomy?
Take a look at the taxonomy.api.

Looks like you're gonna want to take a special look at hook_taxonomy_term_insert, hook_taxonomy_term_update, and hook_taxonomy_term_delete.