update img.coffee