update vc script for gateway