Updated restore endpoint