add fullsync logic