updated dependencies
enhanced error handling