update to new waf