Add mac addr update through config update

Add a mac=<mac addr> line in updated config file and the new mac addr
will be wrote to flash