modules tags update, assignment of input and output tags at the correct modules.