update linear equation solution