updated epd code