Editing posts functionality redone