- If the new calculated tentative distance is **smaller** t…
- If the new calculated tentative distance is **smaller** than the previously recorded tentative distance for that neighbor, **update** it.
- This ensures that the algorithm always has the shortest known distance from the starting node to each node at every step.