Update mapp and analysFlag