Algolia is removing my rules whenever I update my index data

Hello,

My rules manually created are being removed whenever I update the index using nodejs npm package alogliasearch.

Does anyone knows how can I preserve my rules when updating/add index data?

Thanks