Update the event registeration method as review sugguestion