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