FloydWarshall update