implement the news creation and update function in the news page