add/edit constr