added update cue method