updated event code format