update refMapping