update weighted training test