added offset for refresh and last sync date