improved railnet db editing