Update Collection

Fix missing variable error, return the AttributeInterface instance from the private createAttribute() method.