updated DBManager.pm