Update error message to reflect change in attribute name