Add missing edit posts functionality