Reindex references on save and delete