[PR] Handle database updates globally rather than per network