implemented selfupdate support into gdt.groovy