KSM upgrade