moved nightly update script into pom file