Fixed and updated documentation