What you what, is not how master-slave works. Master can only replicate to any number of slaves. But salves cannot update master. That is the idea in "master-slave".
What you are asking is called MySQL Cluster, it is a synchronous solution that enables multiple MySQL instances to share database information. Unlike replication (master-slave), data in a cluster can be read from or written to any node within the cluster, and information is distributed to the other nodes.
Try read this good link from MySql -
High Availability and Scalability[
^]
---------------
There is a program called
MySql Proxy[
^], that act as man-in-the-middle. One endpoint and many MySql servers.
But the point in master-slave, I think, is that you do SELECT query's on the slaves and updates/delete on the master. This way you off-load the master.