added updating of atm termial id