check for id as null or empty string when determining if PUT request was made