update jpeg quality