fix update and register bugs
map enter for table only