Update pieces.c