wrote rename playlist API