Move book settings from variables to config.
function book_update_8000() {
update_variables_to_config('book.settings', array(
'book_allowed_types' => 'allowed_types',
'book_child_type' => 'child_type',
'book_block_mode' => 'block.navigation.mode',
));
}