update view with layout