Update the servlet based on the templates