update to match name changes in -lib

  - swap open/closed segments
  - open trail --> line