updating simple example