Updated Mercury library