add script to update pom dependencies based on imported packages