update the init script for Tomcat