<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _element_charfix(self, element, charcount):
 """Updates the start and end attributes by charcount for the element."""

        element.start += charcount
        element.docstart += charcount
        element.end += charcount
        element.docend += charcount