dplyr – how to replace only NAs by matching ids from another dataframe in r


My df1 looks like

PID End_record_date
123 NA
123 15-08-2020
234 NA
234 19-07-2020
345 NA

my df2 has matched ids

PID Record_date
123 13-10-2018
234 14-07-2019
345 20-08-2020

Expected result i need

PID End_record_date
123 13-10-2018
123 15-08-2020
234 14-07-2019
234 19-07-2020
345 20-08-2020

I need only NAs to be filled without disturbing other values

Thanks