Update dependencies and sort entries