analytics: update code.