updated old documentation and added some new stuff