update using options.initState