updated editVideo functionality