From form submission values – dynamically update CPT “has_archive” slug and custom taxonomy “rewrite” slug value

From form submission values – dynamically update CPT “has_archive” slug and custom taxonomy “rewrite” slug value