update database.sql