updateSounds and updateSongs now take in a targetarray as an input