Update script and codebook