update golang structure