update netgap code