Update required fields when editing an ingest.

Clear old required fields before adding new ones when updating a ingest
Merge pull request #54 from juanluisrp/required-fields-not-updated

Update required fields when editing an ingest.