Update sql for rate & vat_rate