update
fixed bug for cookie,