Changes to store chaper information in events database