Updates model method