def METHOD_NAME(self,
           dashboard_id: int,
           widget_id: int,
           **kwargs) -> Dict:
    '''
    Updates an existing widget.
    Args:
        dashboard_id (int):
            The dashboard instance identifier.
        widget_id (int):
            The dashboard instance identifier.
        pos_x (optional, int):
            x-axis position for widget.
        pos_y (optional, int):
            y-axis position for widget.
        width (optional, int):
            width of widget.
        height (optional, int):
            height of widget.
        title (optional, str):
            title for widget.
    Returns:
        dict:
            The updated widget object.
    Examples:
        >>> tad.widgets.update(
        ...     dashboard_id=1,
        ...     widget_id=1,
        ...     pos_x=1,
        ...     pos_y=1,
        ...     width=3,
        ...     height=3,
        ...     title='EditedWidget'
        ...     )
    '''
    payload = self._schema.dump(kwargs)
    return self._schema.load(self._patch(f"{dashboard_id}"
                                         f"/widgets/{widget_id}",
                                         json=payload))