Update cdbfunctions.py