state upd
fixes #9, apidoc changes