def update_and_return(dictionary: dict, **kwargs) -> dict:
    """
    Utilises the standard dictionary update() function but instead of
    returning None it will return the updated dictionary.

    :param dictionary: The dictionary that should be updated
    :param kwargs: Kwargs of the update method
    :return: The updated dictionary
    """
    dictionary.update(**kwargs)
    return dictionary