add state to ticket