update driver to support all examples