updated dhcp object logic