update videos set state = 'local' where state = 'done';
