migrate to spm3