adds route table into database
fixes conflicts