Updates example code