similarity api updated