Update the structure of local app.