update alt and tabindex