SetAttr now creates attributes, in addition to updating attributes, clos...

SetAttr now creates attributes, in addition to updating attributes, closes #57