commit update entity