fix single argument case for upsertFromUntrusted