change posts API