add setter for vertex attribs