publish: update to text and map

generated from commit 4e0d2728e857d8282f0f9e76e64d53a4edbc4d37