<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_vm_info(name, vm_):
    ''' store the vm_ information keyed by name '''
    __utils__['sdb.sdb_set'](_build_sdb_uri(name), vm_, __opts__)

    # store machine-to-name mapping, too
    if vm_['machine']:
        __utils__['sdb.sdb_set'](
            _build_machine_uri(vm_['machine'], vm_.get('cwd', '.')),
            name,
            __opts__)