automatically insert new sites into the database