update message and locale