Updates model