Update basedb.sql