plugin: orphaned hooks weren't deleted.
update: fixing update job for tags.