Commit api design for edit comment function