running route pending logic to save