Trying to update taxonomy menu item with hook_taxonomy_menu_update I'm having issues getting this to function to work, if I understand correctly this hook fires after saving or creating a taxonomy term.

I am also unable to use dpm($item) as nothing is rendered    

function form_alter_taxonomy_menu_update(&amp;$item) {
    $item['options']['attributes']['class'] = 'myClass';
    return $item;
}


Can anyone spot what I have done wrong
If you're just adding a class, I wouldn't rely on a hook from the taxonomy menu contributed module at all. Do it at the theme level like this.