Update appendList.c