<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def update(d, e):
 """Return a copy of dict `d` updated with dict `e`."""

    res = copy.copy(d)
    res.update(e)
    return res