setting referrer redirection for update