fixed put/post setup for objects api

split out the put/post operations into what they should
be (ie update/add)