update swtrunk.sh