Update apple.c

change