Implemented new way of syncing, namely with client generated id