Updating an example of code