Update mapping class