Updating similarity