add insert method to TracksController.