def update_max_accel(driver, ma):
    """
    Updates the max accel of the driver
    :param driver: driver
    :param ma: new max accel
    :type driver: DriverProfile
    :return: updated driver profile
    """
    return driver.update_max_accel(ma)