update converter algorithm