add new post and change old post