updating redirect for mobile