fixup! add resource and model for league