adds delete endpoints