Update dbManager.php

add new code