update get machine info function