Added loggings to updateDb.py