update a machine