updates for view and controller inside the layout