update logout