update post python problem