Updated the servlet to support the new request