update the daoImpl and remove some methods from class SQLWrapper