refactoring: edit discussion api1