fixed api for creating similairty
Merge branch 'dev'