update WHAM example