mapping not updating