parameters: (organisation_dto: UpdateOrganisationDTO)
return_statement: return org
docstring: Updates an organisation
          :param organisation_dto: DTO with updated info
          :returns updated Organisation
docstring_summary: Updates an organisation
          :param organisation_dto: DTO with updated info
          :returns updated Organisation
docstring_tokens: Updates an organisation : param organisation_dto : DTO with updated info : returns updated Organisation
function: def update_organisation(organisation_dto: UpdateOrganisationDTO) -> Organisation:
          """
          Updates an organisation
          :param organisation_dto: DTO with updated info
          :returns updated Organisation
          """
          org = OrganisationService.get_organisation_by_id(
              organisation_dto.organisation_id
          )
          OrganisationService.assert_validate_name(org, organisation_dto.name)
          OrganisationService.assert_validate_users(organisation_dto)
          org.update(organisation_dto)
          return org
function_tokens: def update_organisation ( organisation_dto : UpdateOrganisationDTO ) -> Organisation : org = OrganisationService . get_organisation_by_id ( organisation_dto . organisation_id ) OrganisationService . assert_validate_name ( org , organisation_dto . name ) OrganisationService . assert_validate_users ( organisation_dto ) org . update ( organisation_dto ) return org