changes for updating level