update api
small fix to archive events class