update WHAM
update WHAM example