changes reindex to an after_save hook