path calculate update