add state_machine to book model