update block 4 snippet