Added example of a more sophisticated update.