update stacks of molecules in the before/after boxes if their visual representation changes (for custom sandwich)