Revert "upg: change return value of map function"

This reverts commit 0c8055fa77c48457f5741f4eddc73414e43414f5.
upgrade readme file