update for logging of referer