db sql update :before executing file delete all tables