update post contents