migrate to spm3
update doc