mapping data and js updates