update redirect file if successful