insert new data function added to main program menu