createFormSubmission method updated