Update algolia on post update by php