update IDs