update ,r mapping