update proxy settings in java template