update basic example