updated code in submodules