Ticket db update