[_dbexecuteUpdate:@"UPDATE requestVariables SET access_token = ?, refresh_token = ? WHERE id = 1",[contextResponseobjectForKey:@"access_token"],[contextResponseobjectForKey:@"refresh_token"]];
[_dbexecuteUpdate:@"UPDATE requestVariables SET access_token = ?, refresh_token = ? WHERE id = 1",[contextResponseobjectForKey:@"access_token"],[contextResponseobjectForKey:@"refresh_token"]];
[_dbexecuteUpdate:@"UPDATE requestVariables SET access_token = ?, refresh_token = ? WHERE id = 1",[contextResponseobjectForKey:@"access_token"],[contextResponseobjectForKey:@"refresh_token"]];
[_dbexecuteUpdate:@"UPDATE requestVariables SET access_token = ?, refresh_token = ? WHERE id = 1",[contextResponseobjectForKey:@"access_token"],[contextResponseobjectForKey:@"refresh_token"]];
NSString*query=[NSStringstringWithFormat:@"INSERT INTO pois (id, lat, lon, radius) VALUES (%@, %@, %@, %@)",[poisDictvalueForKeyPath:@"id"],[poisDictvalueForKeyPath:@"lat"],[poisDictvalueForKeyPath:@"long"],[poisDictvalueForKeyPath:@"radius"]];
[_dbexecuteUpdate:@"CREATE TABLE events (_id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL UNIQUE, type VARCHAR(255), time VARCHAR(255), data BLOB, priority INTEGER)"];