Updates to LSM engine