def METHOD_NAME(self, signature, signature_type):
    new_packet = pb.Packet()
    new_packet.signed_command.signature = signature
    new_packet.signed_command.signature_type = signature_type.value
    new_packet.signed_command.command.CopyFrom(self.packet.command)
    self.packet = new_packet