reverted dbconfig to restDb