commit update class