update line numbers