changed the route representation in the database