Update ga code