update cosine simularity
merge