See my reply here: https://forum.kaltura.org/t/adding-new-flavors/4744 in regards to how to add additional flavours.
My reply includes a script that uses the flavorParams->add() API. If you wish to edit existing ones you can use the flavorParams->update() API.
The flavour params are all stored in the DB in the kaltura.flavor_params table, however, direct manipulation of the table records is not recommended so always use the API.
You may also be interested in a general explanation about transcoding profiles, flavour params, delivery profiles and playback, for that, see here: