update template to align with latest class signature for entities and their managers