update for beat patterns and tempo changes