update code for accents