update cd in build scripts