Update testapi controller