Update instance ids