update img classes