v7_set_func API changed