# Update the model run form

Try to update the model run form based on these requirements:

- min_depth parameter
  - This parameter's label should appear in the UI as: Min depth (m)
  - Add a help pop-up with the following description: The minimum depth that must be exceeded before a building will be considered 'exposed' to the tsunami.

- area_layer parameter:
  - users should be able to pick their own bookmark/file

- parameter aggregate_by:
  - should be a drop-down
  - options are: Region, Construction_type, Use_Category, and Nationally
  - note: do not use singe-quotes with these values (they are accessing attributes in the pipeline data)
  - This parameter's label should appear in the UI as: Aggregate results by
  - Add a help pop-up with the following description: This changes how results are aggregated for the 'summary' results file. By default, the results are reported with a breakdown by region. Selecting 'Nationally' will instead give a single total value for all of Samoa. Selecting 'Use_Category' or 'Construction_type' will give a breakdown based on the building's details

- use_types parameter:
  - this should be a multi-select UI widget
  - valid options are: 'All Buildings', 'Residential', 'Commercial', 'Community', 'Education', 'Fale', 'Hotel', 'Industrial', 'Outbuilding', 'Religious'
  - This parameter's label should appear in the UI as: use category
  - Add a help pop-up: Select the buildings to include in the model by use category. You can select multiple use categories.    Any buildings that do not fall into one of the specified use categories will be excluded from the model.

- hazard_layer parameter:
  - users should be able to pick their own bookmark/file
  - Drop-down options should be available for picking the MaxEnv_All_Scenarios_10m.tif and MaxEnv_All_Scenarios_50m.tif GeotTIFFs
  - These drop-down options should appear on the UI as "2009 Tsunami, 10m grid-resolution" and "2009 Tsunami, 50m grid-resolution"

- exposure_layer parameter:
  - user should be able to pick their own bookmark/file
  - if the user provides their own file, the type of the data needs to match the 'Building_Type' type
  - try selecting the Roads_SE_Upolu.gpkg and check the 'attribute mapping' widget appears


