allow an id to be passed into the update method instead of criteria