update interface to provide execute/[2,3,4] and query/[2,3,4]