add db dependences