update tomcat config file