Update logout process