Fix update bugs for spareserver