change the old style to the new style