update history & spm build