<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def rt_update(self, statement, linenum, mode, modulep, lineparser):
 """Uses the specified line parser to parse the given statement. :arg statement: a string of lines that are part of a single statement. :arg linenum: the line number of the first line in the statement relative to the entire module contents. :arg mode: either 'insert', 'replace' or 'delete' :arg modulep: an instance of ModuleParser for handling the changes to the instance of the module. :arg lineparser: a line parser instance for dealing with new instances of types or executables that are add using only a signature. """

        #Most of the module is body, since that includes everything inside
        #of the module ... end module keywords. Since docstrings are handled
        #at a higher level by line parser, we only need to deal with the body
        #Changes of module name are so rare that we aren't going to bother with them.
        section = self.find_section(self.module.charindex(linenum, 1))
        if section == "body":
            modulep.rt_update(statement, self, mode, linenum, lineparser)