modified some view elements according to the model