update similarity demo