update source encoding