update restore and backup scripts