add afterUpdate option to allow for custom callback

I had a problem that required me to handle the event of a tag being added or removed.