logout updaet