update post script