how to add edit comment when updating pages from a data frame