modify deploy to tomcat