already called updateOutputCallback in the middle of this function