updating levels and results tables