Update for midi files