Adding the save and delete actions