update set magnetic field