add some db utis