change the data of two posts