X algorithm update