Changes for last 5 character device id