def _update_ep_with_tvdb_ep(ep, webep):
    """
    _update_ep_with_tvdb_ep(ep, webep) -> same ep
    Updates the given ep with info from webep.
    webep is a tvdb_api.Episode in this context.
    """
    show = webep.series
    ep['id'] = webep['id']
    ep['title'] = webep['episodename']
    ep['ep_number'] = webep['episodenumber']
    ep['ep_summary'] = webep['overview']
    ep['air_date'] = webep['firstaired']
    ep['season_id'] = webep['seasonid']
    ep['season_number'] = webep['seasonnumber']
    ep['series_id'] = webep['seriesid']
    ep['series_title'] = show['seriesname']
    ep['series_summary'] = show['overview']
    ep['series_start_date'] = show['firstaired']
    ep['run_time_minutes'] = show['runtime']
    ep['network'] = show['network']
    return ep