update ksm layout