$db->query("INSERT INTO `db_extra` SET (`actor_id`, `name`, `rusname`, `mod_f1`, `mod_f2`,`videos`) VALUES ('$model->id', '$model->name', '$model->rusname', '$model->mod_f1', '$model->mod_f2', '$model->videos')
ON DUPLICATE KEY UPDATE `db_extra` SET `name` = '$model->name', `rusname` = '$model->rusname', `mod_f1` = '$model->mod_f1', `mod_f2` = '$model->mod_f2', `videos` = '$model->videos' WHERE `actor_id` = 'actor_id'");
INSERT INTO `db_extra`(`actor_id`, `name`, `rusname`, `mod_f1`, `mod_f2`,`videos`)
VALUES (:model_id, :model_name, :model_rusname, :model_mod_f1, :model_mod_f2, :model_videos)
ON DUPLICATE KEY UPDATE
`name` = VALUES(`name`), `rusname` = VALUES(`rusname`), `mod_f1` = VALUES(`mod_f1`), `mod_f2` = VALUES(`mod_f2`), `videos` = VALUES(`videos`)