Updated form definition update when submitting