Renamed updateLayout to layout.