update config of AutomaticRegistrationSpringServlet method