rename_levels function

Rename the levels of global metrics in a data.table