update spm deploy version
update deploy txt logic