changing frontend model using pyramid_layout