refactor to event when create a new tenant