Updated docs

Fixed errors outline in the submitted issue