changes to REST api