add unlock, cookieUpdate