Change the worker ping api method to use MySQL replace (Fix #85)