def METHOD_NAME(self, new_position):
    """
    Updates the source position of the element.
    :param new_position: a new source position
    :type new_position: ASTSourceLocation
    :return: a source position object.
    :rtype: ASTSourceLocation
    """
    self.source_position = new_position