updated enter form submission