sync data to server and factor