Update analytic code
Upgrade build tools