update new_post script