change intial db callback to trigger once and add a add child callback