update clean data cpp