change db logic because one node can have multiple urls