Manipulating of attributes in model