def METHOD_NAME(self, request, institution_id):
    """Update (quota) of institution
    """
    if not request.user.admin_permissions.other_permission():
        return api_error(status.HTTP_403_FORBIDDEN, 'Permission denied.')
    try:
        institution = Institution.objects.get(id=institution_id)
    except Exception as e:
        logger.error(e)
        error_msg = "institution %s not found." % institution_id
        return api_error(status.HTTP_404_NOT_FOUND, error_msg)
    quota_mb = request.data.get('quota', '')
    try:
        quota_mb = int(quota_mb)
    except Exception as e:
        logger.error(e)
        error_msg = 'quota invalid.'
        return api_error(status.HTTP_400_BAD_REQUEST, error_msg)
    quota = quota_mb * get_file_size_unit('MB')
    try:
        InstitutionQuota.objects.update_or_create(
            institution=institution,
            defaults={'quota': quota},
        )
    except Exception as e:
        logger.error(e)
        error_msg = 'Internal Server Error'
        return api_error(status.HTTP_500_INTERNAL_SERVER_ERROR, error_msg)
    info = {}
    info['id'] = institution.id
    info['name'] = institution.name
    info['user_count'] = Profile.objects.filter(institution=institution.name).count()
    info['quota_total'] = InstitutionQuota.objects.get_or_none(institution=institution)
    info['quota_used'] = get_institution_space_usage(institution)
    return Response(info)