update cookie session options format
build