update script for java and wget url for opentsdb