updating populate data sql script