update and fix locale