added up-client hook