Updating metrics