slight refactor of story edit and Io client