Update user session on library change