update entry and exit map

for SP thing