Magnetic field evolution in giant radio relics using the example of CIZA J2242.8+5301