update LogSP