updating mapping