[ALOY-1116] updated optimized sync adapter code