updating path to REST