update GA code