fixed bug in sc1_updateOutput_kernel