def update_dict(origin, extras):
    """Update the content of ORIGIN with the content of EXTRAS

    :param origin: the dictionary to update
    :type origin: dict
    :param extras: the dictionary to update ORIGIN with
    :type extras: dict
    :rtype: dict
    """

    final = origin.copy()
    final.update(extras)
    return final