updated similarity