update client lib
handle client exceptions in session