delete metadata dict and update transitionsClass