update for similarity python and webapp