update post: python database