update hhfuns example