Update Analytics code.