update and add new posts