Update dependencies and cleanup.