add iterval options
update cookie helper