place_model code updated