I am not getting your question completely, but will try to answer based on my understanding.
There are 3 fields in your table Cod_customer f, Type, Name
You have to change the 'Type' value when 'Cod_customer' value is 30 else use the default 'Type' value. You can do this by using an if clause while loading the script.