updating immigration rules prototype