Update dependencies. Fix config and source files.