complete edit, delete posts and errors while editing post