fix mercury update