Updates cookbook examples.