Implementing a Register in a Dynamic Distributed System