Updating due to change in check_trap_table