Use state machine to mange all post status