Update the similarity