update metric scripts