update with new metrics and multiple thread