update post parse logic