Adding put method for events