add a function to rename sections in the config