fix write cookie in UpdateInfoaction