added name and updated attributes