README fixed example

added missing update() call to example