fix documentation for init_app method