updated edit video functionality