update functional test