Updating doc to use new init_app()