Update api.md

There is no mapFunc but mapper instead.