Modify inventory using moduleSetTag as optional attribute