edit training db