Update DB.php

Updated from latest changes in Tuner