Update to video function