commit all data