Update img opacity