add operateScore function in dbapi.py