Upgrading metrics lib