update view layout