change api execute method