contract edit + form init