<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def dict_update(base_dict, update_dict):
 """Return an updated dictionary. If ``update_dict`` is a dictionary it will be used to update the ` `base_dict`` which is then returned. :param request_kwargs: ``dict`` :param kwargs: ``dict`` :return: ``dict`` """

    if isinstance(update_dict, dict):
        base_dict.update(update_dict)

    return base_dict