updating mapping generator