Update unitsystem.c