Updated routes to resolve duplicating records issue