adapt to the new server