updating Tyche with compartment functionality