Removed oneway from updateStatistics as it gets stuck after first call otherwise