update latex related settings