Update AdaptedCode