update redierct method