create api shim for updating instance