Added route updating for modal