Update href for index and submit