Update backuphome() function.