Update upload/install/model/upgrade.php

change insert to replace to avoid dupicate entries