sync data with local