update view elements