Edit with union struct