improve interface for edition of conditions