regenerate embedded client