Renew the sql scripts to include latest revision from Poh Jun