Modify playlist with MPMediaPlaylist

Hi, is there anyway to edit playlist song(s) and edit playlist name with MPMediaPlaylist Api? Hope can get the answer to implement this function. thank you.

From the Apple documentation, it only provide func  addItem ( withProductID : String,  completionHandler : ((Error?) -> Void)?) and
func add([MPMediaItem], completionHandler: ((Error?) -> Void)?)

Modify playlist with MPMediaPlaylist
 
 
Q