change form submit method