update structure of application