Add ability to edit posts in case of updated post