Add save and delete to REST adapter