Added a way to edit posts