update application.c