<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def update_cursor_position(self, line, index):
 """Update cursor position."""

        value = 'Line {}, Col {}'.format(line + 1, index + 1)
        self.set_value(value)