Update SMARTHOME.c