add edit_spec