Update rest_machine resource