update logCraft.c