media playlist update logic added