updated the GA code to the head