add a a post-insert hook for custom indexing/paths