update redirect script