Deployment subsystem

Also, did you verify this was atomic on the server?  If update isn't atomic then this whole algorithm is wrong