The document presents a dynamic layer management algorithm (DLM) for super-peer architectures in peer-to-peer networks, aimed at maintaining an optimal layer size ratio between super-peers and leaf-peers. DLM allows each peer to independently decide its role based on capacity and age, improving the search performance and scalability of the network by ensuring that more capable and long-lived peers serve as super-peers. Through simulations, the paper demonstrates the effectiveness of DLM in enhancing the quality of super-peer systems under dynamic network conditions.