Updated docs and example.php