Update dependency
Add error handling