updating metrics