modified essay submission to reflect new API