adds put and del endpoints