update format by locale