update manage.py to use new Event.record method.