update rmap