update gs code