update freedom-routes code syntax