Changed train refering to trainId instead of serviceCode