adding functionality to edit comments