update new_public_app_with_repo def