update logic with instance option for making modules
non cached isntance logic for module making