update api for parse_patent