update the convert method