@Shivam153
try using 'merge_properties' in the filter xml.
merge has been Deprecated, as not handled consistently, use merge_properties instead, based on the doc below.
https://jackrabbit.apache.org/filevault/filter.html#:~:text=update_properties%3A%20Existing%20content%20is%20updated%2C%20new%20co...