rail upgrade nears completion