Update backup script and restore script