switched create method from post to put