properly handling PUT Requests if there is an ID