adding editing video functionality