add sync logic method

add sync logic method