Once you flash the ROM that came with the device, KIES will be able to updated.
I was using a Nordic unbranded ROM (csc:nee) and I flashed back to the Gingerbread that came with my device (csc:ttt) then updated officially to Ice Cream Sandwich through KIES.
Sent from my GT-I9100 using Tapatalk 2