change save methods of base dao