pooling server and updating locks when editing dictionary