Update KSM to 3.1.8