update server->master_pid