Improvement in smart categories to send the changes to algolia index