Optimized metadata updating, added genericFill function to DTSC::Packet for efficient packet creation.