Update DS dlls - imperative code in function definition