update + statistics