updated required-attr