change the key id of the sql of proxy