def METHOD_NAME(revision):
    '''Update DEPS.'''
    with open(DEPS_PATH, 'r+') as f:
        deps = f.read()
        new_deps = re.sub(REVISION_RE, revision, deps)
        f.seek(0)
        f.truncate()
        f.write(new_deps)
    return