update DB initialization logic