update for domain lib