add method syncWithAll