commit update database