app api code modify