update to idx