update method to be redirect