Update shortest path styles.