update MaxDependencies