updating post contents