updated discussion api