Update UserDefinedForm.php

Add updateAfterProcess hook