Updates mapping.