Allow partial PUTs for machines, fix a small bug