added last sync method for sync API