Updating the edit form to handle other Mads/Dams elements