Update docblock and add err output
Update docblocks