update redirect on login