updating docs
fixed up some docs
phpdocs