update struct test