Updating midi music pattern