updated ticket creation