code: public Team updateTeam(final Team transientTeam) {
          final Team team = getObjectByUuid(Team.class, transientTeam.getUuid());
          pm.currentTransaction().begin();
          team.setName(transientTeam.getName());
          //todo assign permissions
          pm.currentTransaction().commit();
          return pm.getObjectById(Team.class, team.getId());
      }
docs: Updates the specified Team.
  @param transientTeam the optionally detached Team object to update
  @return a Team
  @since 1.0.0