def update_max_accel(vehicle, ma):
    """
    Updates the max accel of the vehicle
    :param vehicle: vehicle
    :param ma: new max accel
    :type vehicle: VehicleProfile
    :return: Updated vehicle
    """
    return vehicle.update_max_accel(ma)