update metrics
update metrics