changed the way PUT gets criteria