Add event in command