Update G string ids.