def METHOD_NAME(upgrader, library_1_0):
    library_1_0['status'] = 'DELETED'
    value = upgrader.upgrade('library', library_1_0, target_version='3')
    assert value['schema_version'] == '3'
    assert value['status'] == 'deleted'