updates comments in selection panel and table