update spm plugin