fix IDs in update commands