update of layout, step 2
generated new layout model code