Added post status update code