Update app.c