Added update feature to attributes.