update Analytics code and id