update recursive func test