update files to improve codes' readability