@Override
@Transactional(readOnly = false)
public void addApiUpdate(final ApiKey apiKey, int objectTypes, long ts, long elapsed, String query,
boolean success, Integer httpResponseCode, String reason) {
ApiUpdate updt = new ApiUpdate();
updt.guestId = apiKey.getGuestId();
updt.api = apiKey.getConnector().value();
updt.apiKeyId = apiKey.getId();
updt.ts = System.currentTimeMillis();
updt.query = query;