def update_speed_limit(intersection, new_speed):
    """
    Updates the speed limit of the intersection
    :param intersection: intersection
    :param new_speed: new speed value
    :type intersection: Intersection
    :type new_speed: int
    :return: updated intersection
    """
    return intersection.update_speed_limit(new_speed)