update to distance plots