Updated documentation for v4
Updated for version 4