Update all dependencies and update code accordingly