Edit database architecture