update the magic method __get() of class 'Model'