update golang channel