update route hidden field