Updated the update example