updating mapping document and example sql