last sync and sync period in Category and DataProvider models