some documentation updates. Add whenComplete method