update and add cookie