Adding code for pushing mac ID

everything except parse updation on existing key remaining