Update shocksine example.