Rename module type in mode