How to update document language settings