update DynaMind and BasicModules