commit Command and Observer