Added event handlers to OTC backend
Minor changes
Made the content updating event-driven