update alt attribute for img