public static void Update(ScriptVersion scriptVersion) { ServerConfig.ApiDb.Execute( "UPDATE script_version SET `MarkedDateTime` = @MarkedDateTime, `ValueNumber` = @ValueNumber, `InputNumber` = @InputNumber, `OutputNumber` = @OutputNumber, `MaxValuePointerAddress` = @MaxValuePointerAddress, " + "`MaxInputPointerAddress` = @MaxInputPointerAddress, `MaxOutputPointerAddress` = @MaxOutputPointerAddress, `HeartPacket` = @HeartPacket WHERE `Id` = @Id;", scriptVersion); }