Changed updating of level