add methods to IModel

addAttr、updateAttr、 delete attr