update post/python idiomatic