new and edit comment created with same function (custom for comment)