Update modifier and version setters in DependencyFromString