update JSD weights