update extract_names to get the year