update line error checker