'Updates a friendship with the user specified by the user_id or screen_name.
Args:
user_id:
A user_id to update [Optional]
screen_name:
A screen_name to update [Optional]
follow:
Set to False to disable notifications for the target user
device:
Set to False to disable notifications for the target user
Returns:
A twitter.User instance representing the befriended user.'

def UpdateFriendship(self, user_id=None, screen_name=None, follow=True, **kwargs):

    follow = kwargs.get('device', follow)
    return self._AddOrEditFriendship(user_id=user_id, screen_name=screen_name, follow=follow, follow_key='device', uri_end='update')
