added transcript object and tweaked updateTranscript