Correct example code lines for the update example code