spm rebuild