update img for block