update docs
Add more logging and error handling