Update commit()