update with interface of auth main package