commit to sync data