update db sql file