update CodeBook and script