Change user preference update redirect to json response