updating level