Revert "Revert "Updated phamerator_manage_db.py""

This reverts commit 86256cbd8ce794c2b85259ece11357714462968e.

Sorry, just trying to figure this out.