add manage function to ticket