Update activity.c