Issue #27: Step six implementation. Resolved potential conflicts between comp window and discount window by providing update/edit methods