update function so when song ends it will always get the next track