translate and update source file