Update slave/slave.c