update for Trail refactoring in diagrams-lib