Update for Multiple Code Blocks