Update ids