Edit Key Photo of Video / Cover Fram

Is there a way to update the metadata of a AVAsset/PHAsset to show a different still photo when the asset is not being played? If so what class should I look at to update the AVAsset or PHAsset? I am looking to edit the asset itself, not show a layer over the video. I would prefer to do this without trimming the video.