updated enc/dec components