Update image resource