changed posts table and edit post