Updated the documentation to reflect the changes to the for each functions

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>