function to edit playlist name in DB