reset brush after updating the data