load attributes with saved values on doctype change