Changed _submit hook