add type when registering track