Update Analytics script