Fix update in mapper