update all Huang examples
refactor