Linesearch update