add ticket database