Updated documentation plud various fixes