Updated submit to reflect response from API