team entity made readonly