nn.py now updates similarity table in proc