Validate data before attempting to update any mappings

Since mapping validation is complex and may change in the future,
the simplest way of validating the submitted data is to build a new
mapping with it and check if the mapping is valid.
Display error message if new URL is invalid
Display error message if not all mappings were updated