update previous post to revise category