update structure of source code