update redirect syntax