docs: update documentation for merge()