Changed edit to use PUT instead of DELETE + POST