updating the locals setting