updated customers synchronization logic