update img class