update for latest ealib