update index and playlist